'ResizeBackground is a general class that can be used else where. The stuffs specific to the Ctrl-E/ModeEdit are placed here. Do not remove this class before check the references to it. Shan November 18, 1989'!
NetLink subclass: #SemDelLink
instanceVariableNames: ''
classVariableNames: ''
poolDictionaries: ''
category: 'ModeEdit-Shan'!
!SemDelLink methodsFor: 'private'!
computeLinkPosition
"Here some transformation is needed because eventhough the Link
always reside in the rootMode and the client mode may be a
subMode of other mode. If the viewport is used, it will be relative to
the window of the superMode which is not right. Shan August 8,
1989"
| center |
center _ to mode displayBox center.
center _ from mode superMode inverseDisplayTransform: center.
mode
from: from mode viewport center
to: center
width: 1
color: Form black!
semDel: d client: c
"Assuming that the pointer is from semDel to the client. Shan August
'The standard FillInTheBlankView hardwires the size of the view. The is a temp fix to extend the size. Wait for PP to supply a better one. Shan August 11, 1989'!